Team Fortress Classic Tweak File

This program will allow you to customize your Team Fortress Classic game to optimize performance and visual quality. If Team Fortress Classic runs poorly for you, make the choices you wish to below, then click the "Create" button to create an "Autoexec" that will customize your game.

1. Decals, bulletholes, and explosion scars:

Make sure to limit the number of decals, bulletholes, and explosion scars.Your game will run about 10% to 15% faster and smoother if you limit this value to about 300, especially in long matches. See the screenshots below:

Decals set to 1000



Decals set to 100

Maximum number of decals on screen at a time

2. Dynamic lighting: Dynamic lighting is when lighted objects create projections on the walls or objects around them. For example, in the picture below you can see the light from a rocket creating a bright spot on the rear wall. Your game will run smoother if you disable this. By default, this feature is enabled. See the screenshots below: (pay close attention to the light on the rear wall)

Dynamic lighting enabled:



Dynamic lighting disabled:

Disable dynamic lighting and gain performance

3. Weapon visibility: You can make your weapon invisible (on your screen) in order to maximize visibility and make the game runs smoothly. The weapon severely limits visability. Making the weapon invisible will not hide or hinder your crosshair. See the screenshots below:


Invisible weapon



Visible weapon

Make weapon invisible and gain performance

4. Collinear vertexes: Enabling this will fill in more gaps, resulting in less cracking of polygons. In other words, this will improve the graphics. By default, this is enabled. You can disable this for a performance boost.

Disable collinear vertexes

5. Shadows: Shadows are disabled by default in Team Fortress Classic, and look unrealistic.
Enabling shadows will slow the game by about 15%, resulting in less smooth play. See the screenshots below:

Shadows enabled:



Shadows disabled:

Disable shadows and gain performance

6. g l_texsort: Enabling this will give much brighter images, but the game will not run as smooth.
Disable this option if you do not need a brightness increase. See the screenshots below:

gl_texsort enabled



gl_texsort disabled

Disable gl_texsort and gain performance

7. Offset: This adjusts the offset of textures/decals. It can fix problems with decals heading through walls or being displayed incorrectly. This command has little/no effect on performance. Voodoo2 users or anyone who doesn't see problems should set this to 4 (default). Riva TNT / Intel I740 users (or anyone else...) that sees problems should try the values: -1, .1, 20, or 5. If that doesn't work, try experimenting.

Poly-Offset

8. Brightness/Gamma: Brightness adjusts the brightness of the characters, weapons, and other objects only. It can brighten up objects very well. This command has no effect on performance. Gamma adjusts the brightness of everything. This value can be set from 0.0 to 4.0 and has no effect on performance. I recommend setting the brightness to 2.0 and the gamma to 4.0 if you have a TNT based card or any other card that you believe is too dark. Also, make sure to read about the command below.

Brightness (higher is brighter)
Gamma (higher is brighter)

9. Texture Gamma/Light Gamma: Texture Gamma (texgamma) adjusts the overall gamma of all textures in the scene. If you set the above to 2 and 4, try setting these commands to 3 and 2 (respectively)
Otherwise, set these commands to 2 and 2.5 (respectively) which is the default. It is recommended that you experiment with the settings to find your personal preference. These commands have no effect on performance.

Texture Gamma (lower is brighter)
Light Gamma (lower is brighter)

10. High quality player models: Player models can be set to either high or low quality. The visual difference betweent the two is very minor. If you choose to use low quality models, the game will run more smoothly. For 3Dfx owners, using low quality models will be to your benefit.

Use low quality models

11. ZTrick: ZTrick is a command to skip the clearing of the Z-buffer. With some systems, enabling this will cause flickering of objects, but may increase performance. Very distant objects will flicker slightly. Look at the image below and you'll notice that at a distance the sign on the wall does not show up. (it actually flickers on and off)

Ztrick enabled



Ztrick disabled

Enable ZTrick and gain performance

12. Direct3D Flip: This option should only be enabled if your system responds very slowly to keyboard and mouse inputs. For example, if you move your mouse and the screen does not move for 2 to 3 seconds, try enabing this option.

Enable Direct3D flip to correct input problems.


1. Sound Compatibility: Some sound cards (Ensoniq AudioPCI in particular) have problems with stuttering while playing games using the Quake engine, such as Half-Life, Quake II, and Team Fortress Classic. If your sound stutters, uncheck this box for maximum compatibility. Otherwise set it to maximum performance, which will use less CPU power and therefore cause the game to run better.

Use maximum performance sound (unchecked means maximum compatibility)

2. A3D: A3D is a 3D audio API (applied programs interface) that makes the game sound 3D.

Disable A3D

3. EAX: EAX is another 3D audio API, which is supported by Sound Blaster Live! sound cards, as well as a few others. If you're certain that your sound card supports this feature and you want the 3D sound advantage, enable this option. Otherwise, disable this option to make the game run smoothly.

Disable EAX

4. Reverb: Reverb, or echo, is the effect of sound bouncing off of surfaces. In Team Fortress Classic, this command does not do much, and disabling it can boost performance slightly.

Disable reverb

5. Sound quality: Low quality sound will reduce the amount of memory the game will hog. It will also give a slight performance increase in some systems. If you have a very fast CPU (Pentium II or faster), there is no reason to give up good sound.

8 Bit 11 kHz low quality
8 Bit 22 kHz high quality
16 Bit 11 kHz low quality
16 Bit 22 kHz high quality



1.
Maximum modem frame rate: When playing over modems, lag is unavoidable. The best way to eliminate some lag is to limit your frame rate. Setting this lower will result in lower pings - but also frame rates. With a 56k modem, the best setting is 33. If your modem is slower, set it lower. Non-modem users should not be concerned with this command.

Maximum modem frame rate

2. Rate: Another way to battle lag is to adjust the rate. Setting this lower will result in lower pings in most cases, because the servers will be sending you less data. With a 56k (and 160 ping) set the rate to 3000. We recommend setting this to between 2500 and 3500 for 28.8 or 33.6 modems, 3000 to 5000 for 56k modems, and 5000+ for other, faster connections. For LAN (local area network) games, set this up to 25,000. Try different values and pick what works for you.

Rate

3.
Prediction: This command (pushlatency) sets the prediction for multiplayer games on the internet. Play online for a while and get familiar with your ping. Once you have an estimate of your average ping, set this value between negative 1/2 and negative 3/4 your average ping. So, for example, if your ping was 300, you could set this to as low as -1/2 * 300 = -150 or as high as -3/4 * 300 = -225 (between -150 and -225).

Push Lantency. (If you're unsure about all this, try setting the value to -125)

1. MMX: If your processor supports MMX (Pentium MMX, Pentium II, Celeron, K6, K6-2, etc.) make sure you enable MMX. If your CPU does not support MMX, disable this option for a possible speed boost.

Enable MMX support

2.Mouse filtering: If you use a mouse and want smoother movements, make sure that filtering is enabled. This command averages the two coordinates (before and after) together to smooth out mouse movements.

Enable mouse filtering

3. Console speed: The console (toggled up and down by hitting the ~ key) is used for several purposes. By default, it slowly moves its way down and up, wasting precious time (and in some cases endangering your life). Increase this value to cause the console to come down and go up faster (or lower to cause the console to go up and down slower). The default value is 600. A value of 3000 or higher makes the console come up and down almost instantly.

Console speed

4. Joystick: Most people find it easier to use a mouse/keyboard combo rather than a joystick when playing first person shooters like Team Fortress Classic. Disabling joystick support will increase performance.

Disable Joystick and gain performance

Follow the instructions in the window that appears after clicking the Create button.

 

This autoexec creator was coded in JavaScript by Dan Kennedy. For this program to work correctly, you must have JavaScript enabled. This program works best with Internet Explorer 4.0 or higher. For more autoexec creators and tweaks, visit http://www.tweak3d.net.